package com.cino.pet.service;

import com.cino.basic.util.AjaxResult;
import com.cino.basic.util.PageList;
import com.cino.pet.domain.SearchMasterMsg;
import com.cino.basic.base.service.BaseService;
import com.cino.pet.dto.MsgDto;
import com.cino.pet.query.SearchMasterMsgQuery;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Cino
 * @since 2023-02-20
 */
public interface SearchMasterMsgService extends BaseService<SearchMasterMsg> {

    AjaxResult publish(SearchMasterMsg msg, HttpServletRequest request);

    PageList<SearchMasterMsg> user(SearchMasterMsgQuery query, HttpServletRequest request);

    PageList<SearchMasterMsg> finish(SearchMasterMsgQuery query, HttpServletRequest request);

    PageList<SearchMasterMsg> toSearchMasterPool(SearchMasterMsgQuery query, HttpServletRequest request);

    PageList<SearchMasterMsg> toHandle(SearchMasterMsgQuery query, HttpServletRequest request);

    void reject(Long id);

    void accept(MsgDto msgDto);
}
